package grouptask

import v0 "gitee.com/ymofen/grouptask/v0"

type GroupTaskExecuter interface {
	PostTaskArgsEx(groupID interface{}, cb func(args ...interface{}), args ...interface{}) error
	PostTaskFunc(groupID interface{}, cb func()) error
}

var (
	// 建议使用v0, 性价比较高, 生产线验证过
	DefaultGroupTask GroupTaskExecuter = v0.NewGroupTaskEx(32, 128, 8192)
)
